package com.zx.map.service;

import java.math.BigDecimal;
import java.text.ParseException;
import java.util.Map;

import com.zx.map.dao.model.ActiveRedpacket;
import com.zx.map.dao.model.Redpacket;

public interface ActiveRedpacketService {

	public int add(ActiveRedpacket activeRedpacket);
	
	public void update(ActiveRedpacket activeRedpacket);
	
	public void sendRedpacket(Map<String, Object> condition) throws ParseException;
	
	public Map<String, Object> getActiveRedpacketByUseMoney(String merchantId, String userId, BigDecimal useMoney);
}
